Skip to content

chore: release 3.7.0#169

Merged
PHKenny merged 6 commits into
mainfrom
development
Mar 21, 2026
Merged

chore: release 3.7.0#169
PHKenny merged 6 commits into
mainfrom
development

Conversation

@PHKenny
Copy link
Copy Markdown
Contributor

@PHKenny PHKenny commented Mar 21, 2026

  • Added unknown, userNotFound, wrongPassword, accountBlocked, and passwordUsedBefore values to ApiStatus.
  • Removed deprecated telegramUnauthorized and telegramBadRequest values from ApiStatus.
  • Added MapLayerInput model with full API callers (fetch, fetchAll, save, delete).
  • Removed LocatorApiResponse in favour of the generic ApiResponse<Locator, Map<String, dynamic>>.
  • Removed PoiApiResponse in favour of the generic ApiResponse<Poi, Map<String, dynamic>>.
  • Replaced hardcoded 'INTERNAL_ERROR' strings with ApiStatus.internalError.toJson() across all API callers.

🤖 Generated with Claude Code

PHKenny and others added 6 commits March 21, 2026 16:46
Added unknown, userNotFound, wrongPassword, accountBlocked, and
passwordUsedBefore status values. Removed deprecated telegramUnauthorized
and telegramBadRequest values. Added toJson() toString() override.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nternalError in access, app, and token callers

Ensures all onResponse callbacks emit properly serialized ApiStatus values
instead of raw strings, making response handling consistent across callers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaced all hardcoded 'INTERNAL_ERROR' strings with ApiStatus.internalError.
Removed the LocatorApiResponse helper class in favour of the generic
ApiResponse<Locator, Map<String, dynamic>> type.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduced MapLayerInput as a proper unfreezed model with full CRUD API
callers (fetch, fetchAll, save, delete). Removed the PoiApiResponse helper
class in favour of ApiResponse<Poi, Map<String, dynamic>>. Replaced all
hardcoded 'INTERNAL_ERROR' strings with ApiStatus.internalError across poi
and poi_input callers.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

📋 Changelog Summary

This PR includes the following changes:

✨ Features

  • add LayerInput model with API callers and refactor map module (bc03095 by @PHKenny, Claude Sonnet 4.6)
  • extend ApiStatus with new status values and remove deprecated ones (4d29649 by @PHKenny, Claude Sonnet 4.6)

♻️ Refactoring

  • use ApiStatus in locator callers and remove LocatorApiResponse (afbcada by @PHKenny, Claude Sonnet 4.6)
  • replace hardcoded 'INTERNAL_ERROR' strings with ApiStatus.internalError in access, app, and token callers (2444b3a by @PHKenny, Claude Sonnet 4.6)

🤖 Auto-generated by changelog workflow

@github-actions
Copy link
Copy Markdown

📊 Test Coverage Report

🎯 Dart/Flutter

Metric Value
Coverage 11.1%
Lines covered 13930 / 435
Lines missing -13495

🤖 Generated by coverage workflow

@PHKenny PHKenny merged commit 5d28aab into main Mar 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant